package com.dai.spec.gxk.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dai.spec.gxk.domain.Teacher;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * 教师信息管理Mapper接口
 *
 * @author daikl
 * @date 2024-02-29
 */
@Mapper
public interface TeacherMapper extends BaseMapper<Teacher> {
    @Select("select id from t_spec_teacher where name = #{name}")
    Long getByName(String name);
}
